runtime.stringStruct.len (field)
37 uses
runtime (current package)
alg.go#L112: return memhashFallback(x.str, h, uintptr(x.len))
debuglog.go#L668: len: len,
map_faststr.go#L28: if key.len < 32 {
map_faststr.go#L32: if k.len != key.len || isEmpty(b.tophash[i]) {
map_faststr.go#L38: if k.str == key.str || memequal(k.str, key.str, uintptr(key.len)) {
map_faststr.go#L48: if k.len != key.len || isEmpty(b.tophash[i]) {
map_faststr.go#L62: if *((*[4]byte)(add(key.str, uintptr(key.len)-4))) != *((*[4]byte)(add(k.str, uintptr(key.len)-4))) {
map_faststr.go#L73: if memequal(k.str, key.str, uintptr(key.len)) {
map_faststr.go#L97: if k.len != key.len || b.tophash[i] != top {
map_faststr.go#L100: if k.str == key.str || memequal(k.str, key.str, uintptr(key.len)) {
map_faststr.go#L132: if key.len < 32 {
map_faststr.go#L136: if k.len != key.len || isEmpty(b.tophash[i]) {
map_faststr.go#L142: if k.str == key.str || memequal(k.str, key.str, uintptr(key.len)) {
map_faststr.go#L152: if k.len != key.len || isEmpty(b.tophash[i]) {
map_faststr.go#L166: if *((*[4]byte)(add(key.str, uintptr(key.len)-4))) != *((*[4]byte)(add(k.str, uintptr(key.len)-4))) {
map_faststr.go#L177: if memequal(k.str, key.str, uintptr(key.len)) {
map_faststr.go#L201: if k.len != key.len || b.tophash[i] != top {
map_faststr.go#L204: if k.str == key.str || memequal(k.str, key.str, uintptr(key.len)) {
map_faststr.go#L270: if k.len != key.len {
map_faststr.go#L273: if k.str != key.str && !memequal(k.str, key.str, uintptr(key.len)) {
map_faststr.go#L350: if k.len != key.len || b.tophash[i] != top {
map_faststr.go#L353: if k.str != key.str && !memequal(k.str, key.str, uintptr(key.len)) {
print.go#L20: rp.len = sp.len
print.go#L21: rp.cap = sp.len
string.go#L244: len int
string.go#L567: ss := stringStruct{str: unsafe.Pointer(str), len: findnull(str)}
tracestring.go#L28: id, added := t.tab.put(ss.str, uintptr(ss.len))
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |